package gagak.framework.web.paramresovler.requestbody;

import java.io.IOException;
import java.io.OutputStream;

public interface StreamingHttpOutputMessage extends HttpOutputMessage {

    /*
     * 设置body 提供回调
     */
    void setBody(Body body);

    interface Body {
        void writeTo(OutputStream outputStream) throws IOException;
    }

}
